// 引入封装好的axios  @等价于/src
import http from '@/request/request.js';

//添加护理项目
function addMeal(data){
    return http.post('/meal/addMeal',data)
}
//更新护理项目
function updateMeal(data){
    return http.post('/meal/updateMeal',data)
}
//删除护理项目
function delMeal(data){
    return http.get('/meal/removeMeal',{params:data})
}

//查询护理项目(分页)
function findMeal(data){
    return http.post('/meal/listMealPage',data)

}

export{
    addMeal,
    updateMeal,
    delMeal,
    findMeal
}